package foliotracker;

import java.awt.EventQueue;

import foliotracker.GUI.MainWindow;
import foliotracker.controllers.FolioTrackerController;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		FolioTrackerController controller = new FolioTrackerController();
		final MainWindow window = new MainWindow(controller);
    	controller.setView(window);
    	controller.newFile();
    	
    	EventQueue.invokeLater(new Runnable()
    	{
    		public void run()
    		{
    			window.setVisible(true);
    		}
    	});
	}

}
